// adminuser.cpp : implementation file
//

#include "stdafx.h"
#include "..\PubQQ.h"
#include "SeekUser.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CSeekUser dialog

CSeekUser::CSeekUser(CWnd* pParent /*=NULL*/)
	: CDialogST(CSeekUser::IDD, pParent)
{
	//{{AFX_DATA_INIT(CSeekUser)
	//}}AFX_DATA_INIT
}


void CSeekUser::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CSeekUser)
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CSeekUser, CDialog)
	//{{AFX_MSG_MAP(CSeekUser)
	ON_WM_DESTROY()
	ON_WM_CTLCOLOR()
	ON_WM_ERASEBKGND()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSeekUser message handlers

BOOL CSeekUser::OnInitDialog() 
{
	CDialog::OnInitDialog();
	CenterWindow(GetDesktopWindow());		
    m_Ok.SubclassDlgItem(IDOK,this);
	m_Ok.SetFlat(false);
	m_Ok.DrawBorder(1,0);
	m_Ok.SetPushLike(1,0);
	m_Ok.DrawTransparent(true);
    m_Cancel.SubclassDlgItem(IDCANCEL,this);
	m_Cancel.SetFlat(false);
	m_Cancel.DrawBorder(1,0);
	m_Cancel.SetPushLike(1,0);
	m_Cancel.DrawTransparent(true);
	
	return TRUE;  

}

void CSeekUser::OnOK() 
{
	
	CDialog::OnOK();
    DestroyWindow();
}

void CSeekUser::OnCancel() 
{
	
	CDialog::OnCancel();
    DestroyWindow();
}

void CSeekUser::OnDestroy()
{
	CDialog::OnDestroy();
	delete this;
}
